package com.ghy;


import com.ghy.versionsone.GhySqlSession;
import com.ghy.versionsone.entity.User;
import com.ghy.versionsone.mapper.UserMapper;

public class Test {
    public static void main(String[] args) {
        GhySqlSession sqlSession = new GhySqlSession();
//        sqlSession.selectOne("com.ghy.versionsone.entity.User.selectOne",1);
        UserMapper mapper = sqlSession.getMapper(UserMapper.class);
        User user = mapper.selectOne(1);
        System.out.println(user);
    }
}
